
        <div class="wrap-content">
       		<div class="product">
            	<div class="categori left">
                <?php foreach($list_category as $item):?>
                	<h2><?php echo strtoupper($item['title'])?><span> </span></h2>
                    <ul>
                    <?php $sub_category = $this->CI->Category_model->get_rows('*','parent_id',$item['id'])->result_array(); 
					foreach($sub_category as $item):?>  						
                        <li><a href="#"><?php echo $item['title']?></a></li>
                        <?php endforeach ?>
					</ul> 
                    <?php endforeach ?>
                </div>
                   <div class="content-product right">
                       <ul class="list-product">
                       <?php foreach($list_product as $item):?>
                        
                            <li>
                                <div class="icon-label"><img src="<?php echo base_url()?>images/icon-new.png" /></div>
                                <div class="wrap">
                                    <a href="#">
                                        <img src="<?php echo base_url()?>uploads/product/<?php echo $item['image']?>" align="middle"/>
                                        <div class="disc"><?php echo $item['disc']?>%</div>	
                                        <div class="desc">
                                        	<h4><?php echo $item['title']?></h4>
                                            <div class="price">IDR <?php echo $item['price']?></div>
                                            <div class="clear"></div>
                                        </div>
                                    </a>
                               </div>
                            </li>
                           
                         
                        <?php endforeach ?>
                        </ul>
                        
                        <ul class="paging">
                        <?php foreach($paging_link as $item):?>
                        	<li><a href="<?php echo site_url($paging_url.$item['num'].$active_segment)?>" <?php echo $item['active']?>><?php echo $item['num']?></a></li>
                        <?php endforeach ?>
                        </ul>
                   </div> 
                   <div class="clear"></div>
      
            </div>
       </div>